﻿using UnityEngine;

namespace WentStateMachine
{
    public class StateBehaviour : ScriptableObject
    {
        public virtual void OnWentStateEnter(IStateMachineController controller, IStateInfo state, int layerIndex)
        {
        }

        public virtual void OnWentStateExit(IStateMachineController controller, IStateInfo state, int layerIndex)
        {
        }

        public virtual void OnWentStateUpdate(IStateMachineController controller, IStateInfo state, int layerIndex)
        {
        }

#if UNITY_EDITOR
        public virtual void OnStateGUI()
        {

        }
#endif
    }
}
